<!DOCTYPE html>

<html lang="en">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width">
	<title>Documentation Global</title>

	<!--[if lt IE 9]>
	<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
	<link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">

	<link type="text/css" rel="stylesheet" href="styles/site.cerulean.css">

</head>

<body>

<div class="navbar navbar-default navbar-fixed-top ">
<div class="container">
	<div class="navbar-header">
		<a class="navbar-brand" href="index.html">Documentation</a>
		<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
			<span class="icon-bar"></span>
			<span class="icon-bar"></span>
			<span class="icon-bar"></span>
        </button>
	</div>
	<div class="navbar-collapse collapse" id="topNavigation">
		<ul class="nav navbar-nav">
			
			<li class="dropdown">
				<a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
				<ul class="dropdown-menu ">
					<li><a href="global.html#$$">$$</a></li><li><a href="global.html#__API__">__API__</a></li><li><a href="global.html#add">add</a></li><li><a href="global.html#Article">Article</a></li><li><a href="global.html#Cost">Cost</a></li><li><a href="global.html#ctrl_activity_cultivation">ctrl_activity_cultivation</a></li><li><a href="global.html#ctrl_activity_farmer">ctrl_activity_farmer</a></li><li><a href="global.html#ctrl_activity_pay">ctrl_activity_pay</a></li><li><a href="global.html#ctrl_activity_play">ctrl_activity_play</a></li><li><a href="global.html#ctrl_bootstrap">ctrl_bootstrap</a></li><li><a href="global.html#ctrl_person">ctrl_person</a></li><li><a href="global.html#ctrl_person_animal">ctrl_person_animal</a></li><li><a href="global.html#ctrl_person_farmer">ctrl_person_farmer</a></li><li><a href="global.html#ctrl_person_indent_fin">ctrl_person_indent_fin</a></li><li><a href="global.html#ctrl_science_map">ctrl_science_map</a></li><li><a href="global.html#ctrl_science_recomm">ctrl_science_recomm</a></li><li><a href="global.html#Ctrlbtn">Ctrlbtn</a></li><li><a href="global.html#del">del</a></li><li><a href="global.html#EditForm">EditForm</a></li><li><a href="global.html#get">get</a></li><li><a href="global.html#get_all">get_all</a></li><li><a href="global.html#get_pos">get_pos</a></li><li><a href="global.html#getQueryString">getQueryString</a></li><li><a href="global.html#Imarker">Imarker</a></li><li><a href="global.html#Jsonp">Jsonp</a></li><li><a href="global.html#Loading">Loading</a></li><li><a href="global.html#log">log</a></li><li><a href="global.html#Popup">Popup</a></li><li><a href="global.html#set_pos">set_pos</a></li><li><a href="global.html#wechat">wechat</a></li>
				</ul>
			</li>
			
		</ul>
        
            <div class="col-sm-3 col-md-3">
                <form class="navbar-form" role="search">
                    <div class="input-group">
                        <input type="text" class="form-control" placeholder="Search" name="q" id="search-input">
                        <div class="input-group-btn">
                            <button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button>
                        </div>
                    </div>
                </form>
            </div>
        
	</div>

</div>
</div>


<div class="container" id="toc-content">
<div class="row">

	
	<div class="col-md-8">
	
		<div id="main">
			

	<h1 class="page-title">Global</h1>
<section>

<header>
    
        <h2>
        
        </h2>
        
    
</header>


<article>
    <div class="container-overview">
    
        

        
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


        
    
    </div>

    

    

    

    

    

    
        <h3 class="subsection-title">Members</h3>

        <dl>
            
<hr>
<dt class="name" id="__API__">
    <h4 id="__API__"><span class="type-signature"></span>__API__<span class="type-signature"></span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>init</p>
    </div>
    

    

    
<dl class="details">
    

	
	<dt class="tag-version method-doc-label method-doc-details-label">Version:</dt>
	<dd class="tag-version">
		<ul class="dummy">
			<li>1.0.0</li>
		</ul>
	</dd>
	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    
</dd>

        
            
<hr>
<dt class="name" id="wechat">
    <h4 id="wechat"><span class="type-signature"></span>wechat<span class="type-signature"></span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>wechat_activity Module</p>
<p>Description</p>
    </div>
    

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    
</dd>

        </dl>
    

    
        <h3 class="subsection-title">Methods</h3>

        <dl>
            
<hr>
<dt>
    <h4 class="name" id="$$"><span class="type-signature"></span>$$(id)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>选择器</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>id</code></td>
            

            <td class="type">
            
                
<span class="param-type">str</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>[description]</p>
</div>




        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="add"><span class="type-signature"></span>add(lng, lat, callback)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>添加marker</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>lng</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>lat</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>callback</code></td>
            

            <td class="type">
            
                
<span class="param-type">function</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="Article"><span class="type-signature"></span>Article($http, $stateParams, $state, loading, md)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>维护文章</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>$http</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>$stateParams</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>$state</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>loading</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>md</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="Cost"><span class="type-signature"></span>Cost(scope, data)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>价格计数器</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>scope</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>data</code></td>
            

            <td class="type">
            
                
<span class="param-type">str</span>



            
            </td>

            

            

            <td class="description last"><p>价格计数器所维护的数据对象</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="ctrl_activity_cultivation"><span class="type-signature"></span>ctrl_activity_cultivation($scope, Page)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>活动-代养</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>$scope</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>Page</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>[description]</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">obj</span>



    </dd>
</dl>


        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="ctrl_activity_farmer"><span class="type-signature"></span>ctrl_activity_farmer($scope, $http, Page, $rootScope)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>活动-农场主</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>$scope</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="$scope.html">$scope</a></span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>$http</code></td>
            

            <td class="type">
            
                
<span class="param-type">$http</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>Page</code></td>
            

            <td class="type">
            
                
<span class="param-type">Page</span>



            
            </td>

            

            

            <td class="description last"><p>设置title</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>$rootScope</code></td>
            

            <td class="type">
            
                
<span class="param-type">$rootScope</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="ctrl_activity_pay"><span class="type-signature"></span>ctrl_activity_pay($scope, $http, $stateParams, $state)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>活动-支付</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>$scope</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>$http</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>$stateParams</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>传入 $stateParams.couponGroupIds,$stateParams.planTime</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>$state</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>[description]</p>
</div>




        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="ctrl_activity_play"><span class="type-signature"></span>ctrl_activity_play($scope, $http, $state, Page, Token)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>活动-游玩</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>$scope</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>$http</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>$state</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>Page</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>Token</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>[description]</p>
</div>




        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="ctrl_bootstrap"><span class="type-signature"></span>ctrl_bootstrap()</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>引导页</p>
    </div>
    

    

    

    
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>[description]</p>
</div>




        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="ctrl_person"><span class="type-signature"></span>ctrl_person($scope, Page, Token)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>个人中心</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>$scope</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>Page</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>factory</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>Token</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>factory</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>[description]</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">obj</span>



    </dd>
</dl>


        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="ctrl_person_animal"><span class="type-signature"></span>ctrl_person_animal()</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>个人中心-查看代养</p>
    </div>
    

    

    

    
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>[description]</p>
</div>




        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="ctrl_person_farmer"><span class="type-signature"></span>ctrl_person_farmer()</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>个人中心-查看农场</p>
    </div>
    

    

    

    
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>[description]</p>
</div>




        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="ctrl_person_indent_fin"><span class="type-signature"></span>ctrl_person_indent_fin($scope, $http, Token, Page)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>个人中心-订单</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>$scope</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>$http</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>Token</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>factory</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>Page</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>factory</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>[description]</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">obj</span>



    </dd>
</dl>


        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="ctrl_science_map"><span class="type-signature"></span>ctrl_science_map($stateParams, $state, $scope, $http, Page)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>科普地图</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>$stateParams</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>$state</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>$scope</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>$http</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>Page</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>factory</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>[description]</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">obj</span>



    </dd>
</dl>


        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="ctrl_science_recomm"><span class="type-signature"></span>ctrl_science_recomm($stateParams, $state, $http, $scope)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>科普文章介绍</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>$stateParams</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>$state</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>$http</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>$scope</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>[description]</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">obj</span>



    </dd>
</dl>


        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="Ctrlbtn"><span class="type-signature"></span>Ctrlbtn()</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>操作控制面板</p>
    </div>
    

    

    

    
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="del"><span class="type-signature"></span>del(marker, callback)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>删除marker</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>marker</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>callback</code></td>
            

            <td class="type">
            
                
<span class="param-type">function</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>[description]</p>
</div>




        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="EditForm"><span class="type-signature"></span>EditForm()</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>专门维护一个预设数据对象</p>
    </div>
    

    

    

    
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="get"><span class="type-signature"></span>get(url, callback)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>get</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>url</code></td>
            

            <td class="type">
            
                
<span class="param-type">url</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>callback</code></td>
            

            <td class="type">
            
                
<span class="param-type">function</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>[description]</p>
</div>




        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="get_all"><span class="type-signature"></span>get_all(callback)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>获取数据</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>callback</code></td>
            

            <td class="type">
            
                
<span class="param-type">function</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>[description]</p>
</div>




        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="get_pos"><span class="type-signature"></span>get_pos()</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>获取坐标</p>
    </div>
    

    

    

    
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>[description]</p>
</div>




        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="getQueryString"><span class="type-signature"></span>getQueryString(thisUrl, name)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>获取当前url中的参数</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>thisUrl</code></td>
            

            <td class="type">
            
                
<span class="param-type">url</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>name</code></td>
            

            <td class="type">
            
                
<span class="param-type">str</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>[description]</p>
</div>




        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="Imarker"><span class="type-signature"></span>Imarker(mapObj, $http, md, infowindow)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>专门维护map.marker</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>mapObj</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>$http</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>md</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>infowindow</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="Jsonp"><span class="type-signature"></span>Jsonp($http)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>快速构建jsonp回调</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>$http</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="Loading"><span class="type-signature"></span>Loading(node)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>等待加载时的过度效果</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>node</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="log"><span class="type-signature"></span>log(content, title)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>控制台</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>content</code></td>
            

            <td class="type">
            
                
<span class="param-type">something</span>



            
            </td>

            

            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>title</code></td>
            

            <td class="type">
            
                
<span class="param-type">str</span>



            
            </td>

            

            

            <td class="description last"><p>标记</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>[description]</p>
</div>




        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="Popup"><span class="type-signature"></span>Popup(scope, data)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>弹出层控制器</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>scope</code></td>
            

            <td class="type">
            
                
<span class="param-type">obj</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>data</code></td>
            

            <td class="type">
            
                
<span class="param-type">str</span>



            
            </td>

            

            

            <td class="description last"><p>弹出层所维护的数据对象</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id="set_pos"><span class="type-signature"></span>set_pos(mlng, mlat)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>设置坐标</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>mlng</code></td>
            

            <td class="type">
            
                
<span class="param-type">lng</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>mlat</code></td>
            

            <td class="type">
            
                
<span class="param-type">lat</span>



            
            </td>

            

            

            <td class="description last"><p>[description]</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        </dl>
    

    

    
</article>

</section>




		</div>
	</div>

	<div class="clearfix"></div>

	
		<div class="col-md-3">
			<div id="toc" class="col-md-3 hidden-xs hidden-sm hidden-md"></div>
		</div>
	

</div>
</div>


    <div class="modal fade" id="searchResults">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
            <h4 class="modal-title">Search results</h4>
          </div>
          <div class="modal-body"></div>
          <div class="modal-footer">
            <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
          </div>
        </div><!-- /.modal-content -->
      </div><!-- /.modal-dialog -->
    </div>


<footer>


<span class="jsdoc-message">
	Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.2</a>
	
		on October 10th 2016, 3:22:02 pm
	
	using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
</footer>

<script src="scripts/docstrap.lib.js"></script>
<script src="scripts/toc.js"></script>

    <script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>


<script>
$( function () {
	$( "[id*='$']" ).each( function () {
		var $this = $( this );

		$this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
	} );

	$( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
		var $this = $( this );

		var example = $this.find( "code" );
		exampleText = example.html();
		var lang = /{@lang (.*?)}/.exec( exampleText );
		if ( lang && lang[1] ) {
			exampleText = exampleText.replace( lang[0], "" );
			example.html( exampleText );
			lang = lang[1];
		} else {
			var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
			lang = langClassMatch ? langClassMatch[1] : "javascript";
		}

		if ( lang ) {

			$this
			.addClass( "sunlight-highlight-" + lang )
			.addClass( "linenums" )
			.html( example.html() );

		}
	} );

	Sunlight.highlightAll( {
		lineNumbers : true,
		showMenu : true,
		enableDoclinks : true
	} );

	$.catchAnchorLinks( {
        navbarOffset: 10
	} );
	$( "#toc" ).toc( {
		anchorName  : function ( i, heading, prefix ) {
			return $( heading ).attr( "id" ) || ( prefix + i );
		},
		selectors   : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
		showAndHide : false,
		smoothScrolling: true
	} );

	$( "#main span[id^='toc']" ).addClass( "toc-shim" );
	$( '.dropdown-toggle' ).dropdown();

    $( "table" ).each( function () {
      var $this = $( this );
      $this.addClass('table');
    } );

} );
</script>



<!--Navigation and Symbol Display-->


<!--Google Analytics-->



    <script type="text/javascript">
        $(document).ready(function() {
            SearcherDisplay.init();
        });
    </script>


</body>
</html>